package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
@Accessors(chain = true)
@Getter
@Setter
public class SysCompany extends Tree {

    public static final int DICT_LEVEL_LENGTH = 4;

    @Id
    @GenericGenerator(name = "company_generator", strategy = "uuid")
    @GeneratedValue(generator = "company_generator")
    private String id;

    private Boolean isEnable=true;//启用，停用

}
